<div class="header">
    <back-Btn></back-Btn>
    出场申请
    <div class="right-btn" ng-click="submit()">
        提交
    </div>
</div>
<div class="container finance">
    <div class="list f_sk">
        <label class="list-item icon_clock flex required">
            <p class="w35 c9">出场日期:</p>
            <p class="w65">
                <input type="text" date-directive id="start_date" ng-model="param.attendanceDate" class="c0" />
            </p>
        </label>
        <div class="list-item flex required">
            <div class="c9 w35">出场地点:</div>
            <div class="w65">
                <input type="text" ng-model="param.address" />
            </div>
        </div>
        <div class="list-item flex icon_menu" ng-click="showrelModule()">
            <div class="w35 c9">关联模块:</div>
            <div class="w65">
                {{param.relatedModuleName}}
            </div>
        </div>
        <div class="flex list-item icon_rightArrow" ng-click="chooseinfo()" ng-class="{required:param.relatedModuleName&&param.relatedModuleName!=='无'}">
            <div class="w35 c9">模块编号:</div>
            <div class="w65" ng-class="{cd9:!param.moduleNo}">{{param.moduleNo||"点击选择"}}</div>
        </div>
        <div class="list-item list-item-textarea">
            <div class="c9">备注:</div>
            <textarea cols="30" rows="10" ng-model="param.remark"></textarea>
        </div>
        <!-- 附件 -->
        <div class="list-item list-item-textarea" file-upload file-data="param.attachment">
        </div>
        <div class="flex list-item icon_rightArrow required" ng-click="getOutUsers()">
            <div class="w45 c9">添加出场人员:</div>
        </div>
        <div class="selectinfo">
            <div class="list tablestyle ">
                <div class="info-tip" ng-show="param.attendanceDetailsArr.length>0">已经选择人员</div>
                <div class="list-item" ng-repeat="item in param.attendanceDetailsArr" ng-class='{mt0:$first}'>
                    <div class="delete_icon icon_del" ng-click="deletedItem($index)">X</div>
                    <div class="grid list-content">
                        <div class="col-1-4 c9">人员名称</div>
                        <div class="col-3-4">{{item.ownerName}}</div>
                    </div>
                    <div class="grid list-content">
                        <div class="col-1-4 c9">证件类别</div>
                        <div class="col-3-4">{{item.certificateType}}</div>
                    </div>
                    <div class="grid list-content required">
                        <div class="col-1-4 c9">出场费用</div>
                        <div class="col-3-4"><input type="text" ng-model="item.attendanceCost"  tel-directive /></div>
                    </div>
                    <div class="grid list-content">
                        <div class="col-1-4 c9">备注</div>
                        <div class="col-3-4"><input type="text" ng-model="item.remark" /></div>
                    </div>
                </div>
            </div>
        </div>
        <!-- 自定义字段 -->
        <div user-defined field-map="param.fieldMap" validation="validation"></div>
        <!-- 审查日志 -->
        <div log-list log-result='logData.result'></div>
        <!-- 删除流程 -->
        <div delete-flow id="{{param.processInstanceId}}" ng-show="logData.result.length"></div>
    </div>
</div>
<sheet-action ng-show="sheetObj.ifshowSheet" sheet-data="sheetObj"></sheet-action>